package com.xjg.domain;

import java.util.ArrayList;
import java.util.List;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
@Document(collection = "off_line_message")
public class OffLineMessage {
	@Id
	private String id;
	private String userid;
	private int imMsgCount=0;
	private int pushMsgCount=0;
	private List<MessageInfo> imMessages=new ArrayList<MessageInfo>();
	private List<MessageInfo> pushMessages=new ArrayList<MessageInfo>();
	
	public String getUserid() {
		return userid;
	}
	public void setUserid(String userid) {
		this.userid = userid;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public int getImMsgCount() {
		return imMsgCount;
	}
	public void setImMsgCount(int imMsgCount) {
		this.imMsgCount = imMsgCount;
	}
	public int getPushMsgCount() {
		return pushMsgCount;
	}
	public void setPushMsgCount(int pushMsgCount) {
		this.pushMsgCount = pushMsgCount;
	}
	public List<MessageInfo> getImMessages() {
		return imMessages;
	}
	public void setImMessages(List<MessageInfo> imMessages) {
		this.imMessages = imMessages;
	}
	public List<MessageInfo> getPushMessages() {
		return pushMessages;
	}
	public void setPushMessages(List<MessageInfo> pushMessages) {
		this.pushMessages = pushMessages;
	}
	
	
}
